package com.aspose.cells;

class zbca extends zbz {
   zbca(ScenarioCollection var1) {
      this.c(174);
      this.b(8);
      int var2 = 0;
      if (var1.d != null && var1.d.size() > 0) {
         var2 = var1.d.size();
         this.b(this.d() + (short)(8 * var2));
      }

      this.c = new byte[this.d()];
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.getCount()), 0, this.c, 0, 2);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.b), 0, this.c, 2, 2);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.c), 0, this.c, 4, 2);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var2), 0, this.c, 6, 2);
      int var3 = 8;
      if (var2 != 0) {
         for(int var4 = 0; var4 < var2; ++var4) {
            CellArea var5 = (CellArea)var1.d.get(var4);
            System.arraycopy(com.aspose.cells.b.a.zc.a(var5.StartRow), 0, this.c, var3 + 0, 2);
            System.arraycopy(com.aspose.cells.b.a.zc.a(var5.EndRow), 0, this.c, var3 + 2, 2);
            System.arraycopy(com.aspose.cells.b.a.zc.a(var5.StartColumn), 0, this.c, var3 + 4, 2);
            System.arraycopy(com.aspose.cells.b.a.zc.a(var5.EndColumn), 0, this.c, var3 + 6, 2);
            var3 += 8;
         }
      }

   }
}
